<#--获取web项目根路径-->
<#if baseUrl??> 
<#assign base=baseUrl />
<#elseif request??>
<#assign base=request.contextPath />
</#if>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>后台首页</title>
<link rel="stylesheet" href="${base}/bootstrap-3.3.7/css/bootstrap.css">
<script type="text/javascript"
	src="${base}/bootstrap-3.3.7/js/jquery.js"></script>
<script type="text/javascript"
	src="${base}/bootstrap-3.3.7/js/bootstrap.min.js"></script>
<base href="${base}/">
</head>
<!-- 后台的管理页面 -->
<body>
	<div class="container" style="margin-top: 50px">
		<!-- 操作按钮 -->
		<div class="row">
			<a href="goods/refresh" class="btn btn-success btn-sm"><span class="glyphicon glyphicon-plus-sign"></span>及时刷新</a>
			<a href="html/glist.html" class="btn btn-warning btn-sm"><span class="glyphicon glyphicon-refresh"></span>查看页面</a>
		</div>
		<div class="row" style="margin-top: 5px">
			<table class="table table-bordered table-hover">
				<tr>
					<td>商品名</td>
					<td>商品描述</td>
					<td>价格</td>
					<td>库存</td>
					<td>销量</td>
				</tr>
				<#list gList as g>
				<tr>
					<td>${g.name}</td>
					<td>${g.desci}</td>
					<td>${g.price}</td>
					<td>${g.gcount}</td>
					<td>${g.salecount}</td>
				</tr>
				</#list>
			</table>
		</div>
	</div>
</body>
</html>